#ifndef CMESH_H
#define CMESH_H

#include <d3dx9.h>
#include <d3d9.h>

#include "Entity.h"

class CMesh : public Entity
{
	protected:
						  ///Mesh Ptr
		LPD3DXMESH pMesh;


	public:
											///Constrcutor
		CMesh();
											///Destructor
		virtual ~CMesh();

		void Load(std::string filename, LPDIRECT3DDEVICE9 d3ddev );
		void Render(LPDIRECT3DDEVICE9 d3ddev);
};

#endif